| commit | 306dc506adba97ca84ada67bdab6227dba65bbcb | [log] [tgz] |
|---|---|---|
| author | jugglinmike <mike@mikepennisi.com> | Sat Oct 26 07:19:26 2019 |
| committer | Philip Jägenstedt <philip@foolip.org> | Sat Oct 26 07:19:26 2019 |
| tree | 3989ced913650f39378d598e2b1df32b635cf1a4 | |
| parent | a78dfab017b078a21b4a36520d92327d639a5c86 [diff] [blame] |
[preload] Opt-in to single-page test feature (#19913) testharness.js was recently extended with an API to explicitly opt-in to the "single page test" feature [1]. As per WPT RFC 28 [2], tests which do not use this API and which do not declare any subtests will soon be reported as a harness error. Update the tests which previously opted in implicitly to use the new API. [1] https://github.com/web-platform-tests/wpt/pull/19449 [2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
diff --git a/preload/link-header-preload-imagesrcset.html b/preload/link-header-preload-imagesrcset.html index 3ae53fe..65c8c06 100644 --- a/preload/link-header-preload-imagesrcset.html +++ b/preload/link-header-preload-imagesrcset.html
@@ -6,7 +6,7 @@ <script src="/preload/resources/preload_helper.js"></script> <body> <script> - setup({explicit_done: true}); + setup({single_test: true}); var iterations = 0; var expectation = new Array(10).fill(0);